<%--
  Created by IntelliJ IDEA.
  User: 梁玉杰
  Date: 2021/7/29
  Time: 12:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>智慧校园-教室管理</title>
    <%--Layui的js--%>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/libs/layui/layui.js"
            charset="utf-8"></script>
    <%--layui的css--%>
    <link rel="stylesheet"
          href="${pageContext.request.contextPath}/libs/layui/css/layui.css"
          media="all">
</head>
<body>

<%--项目名称--%>
<div>
    <input id="basePath" hidden value="${pageContext.request.contextPath}"/>
</div>

<div>

    <div class="layui-form-item">
        <label class="layui-form-label">单行输入框</label>
        <div class="layui-input-block">
            <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">单行输入框</label>
        <div class="layui-input-block">
            <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">单行输入框</label>
        <div class="layui-input-block">
            <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">单行选择框</label>
        <div class="layui-input-block">
            <select name="interest" lay-filter="aihao">
                <option value=""></option>
                <option value="0">写作</option>
                <option value="1" selected="">阅读</option>
                <option value="2">游戏</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>
            </select>
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">单行选择框</label>
        <div class="layui-input-block">
            <select name="interest" lay-filter="aihao">
                <option value=""></option>
                <option value="0">写作</option>
                <option value="1" selected="">阅读</option>
                <option value="2">游戏</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>
            </select>
        </div>
    </div>






</div>
<%--数据表格开始--%>
<div>
    <table class="layui-hide" id="classTable" lay-filter="classTable"></table>

    <%--头部工具栏--%>
    <script type="text/html" id="classToolbar">
        <div class="layui-btn-container">
            <button type="button" class="layui-btn layui-btn-lg layui-btn-normal">大型按钮</button>
            <button type="button" class="layui-btn layui-btn-warm layui-btn-radius">暖色按钮</button>
            <button class="layui-btn layui-btn-sm" lay-event="getCheckData">获取选中行数据</button>
            <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">获取选中数目</button>
            <button class="layui-btn layui-btn-sm" lay-event="isAll">验证是否全选</button>
        </div>
    </script>

    <%--行工具栏--%>
    <script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-radius layui-btn-normal" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-normal layui-btn-radius" lay-event="del">删除</a>
    </script>
</div>


<%--jquery的js--%>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/libs/jquery/jquery-3.5.1.js"></script>
<%--自己的js--%>
<script type="text/javascript"
        src="${pageContext.request.contextPath}/static/js/student/clist.js"></script>

</body>
</html>
